/* jshint indent: 1 */

module.exports = function(sequelize, DataTypes) {
	return sequelize.define('t_comic_content', {
		id: {
			type: DataTypes.INTEGER(11),
			allowNull: false,
			primaryKey: true,
			autoIncrement: true
		},
		cid: {
			type: DataTypes.STRING(11),
			allowNull: true
		},
		img_url: {
			type: DataTypes.STRING(255),
			allowNull: true
		},
		width: {
			type: DataTypes.INTEGER(11),
			allowNull: true
		},
		height: {
			type: DataTypes.INTEGER(11),
			allowNull: true
		},
		num: {
			type: DataTypes.INTEGER(11),
			allowNull: true
		},
		total: {
			type: DataTypes.INTEGER(11),
			allowNull: true
		},
		topic: {
			type: DataTypes.STRING(63),
			allowNull: true
		}
	}, {
		tableName: 't_comic_content',
		timestamps: false
	});
};
